import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import * as allStores from './stores';
import { Provider } from 'mobx-react';
import registerServiceWorker from './registerServiceWorker';
import './index.less';

ReactDOM.render(
  <Provider {...allStores}>
    <App />
  </Provider>,
  document.getElementById('root') as HTMLElement
);
registerServiceWorker();
